package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalGlobalAppMenuDao;
import com.appkubes.portal.core.entity.PortalGlobalAppMenu;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalGlobalAppMenuService extends AbstractBaseService<BasePortalGlobalAppMenuDao, PortalGlobalAppMenu> {

    PortalGlobalAppMenu getOneByEntity(PortalGlobalAppMenu entity);

    List<PortalGlobalAppMenu> selectListByEntity(PortalGlobalAppMenu entity);

    IPage<PortalGlobalAppMenu> selectPageByEntity(IPage<PortalGlobalAppMenu> page);
    IPage<PortalGlobalAppMenu> selectPageByEntity(PageVO pageVO);

    IPage<PortalGlobalAppMenu> selectPageByEntity(PortalGlobalAppMenu entity, IPage<PortalGlobalAppMenu> page);
    IPage<PortalGlobalAppMenu> selectPageByEntity(PortalGlobalAppMenu entity, PageVO pageVO);

    IPage<PortalGlobalAppMenu> selectPageByEntity(PortalGlobalAppMenu entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalGlobalAppMenu entity);
}
